for i in range(1,101):
    if "7" in str(i):
        print("拍手",end=" ")
    else:
        print(i,end=" ")
    if i%20==0:
        print(end="\n")